/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.purchasecollect.entity;

import com.jeeplus.modules.member.entity.Member;
import com.jeeplus.modules.purchase.entity.Purchase;
import java.util.Date;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 求购收藏Entity
 * @author zhych
 * @version 2021-12-09
 */
@Data
public class PurchaseCollect extends DataEntity<PurchaseCollect> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="用户", fieldType=Member.class, value="u.nickname", align=2, sort=1)
	private Member u;		// 用户
	@ExcelField(title="求购", fieldType=Purchase.class, value="purchase.callName", align=2, sort=2)
	private Purchase purchase;		// 求购
	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间
	
	public PurchaseCollect() {
		super();
	}
	
	public PurchaseCollect(String id){
		super(id);
	}
}